package com.medical.admin.cost.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 患者科室医生中间表(就诊表)
 */
@Data
@TableName(value = "mar_treatment")
public class Treatment {
    /**
     * 主键
     */
    @TableId(value = "treatment_id", type = IdType.AUTO)
    private Integer treatmentId;

    /**
     * 患者id
     */
    @TableField(value = "patient_id")
    private Long patientId;

    /**
     * 科室id
     */
    @TableField(value = "department_id")
    private Long departmentId;

    /**
     * 医生id
     */
    @TableField(value = "doctor_id")
    private Long doctorId;

    /**
     * 订单id
     */
    @TableField(value = "indent_id")
    private Long indentId;

    public static final String COL_TREATMENT_ID = "treatment_id";

    public static final String COL_PATIENT_ID = "patient_id";

    public static final String COL_DEPARTMENT_ID = "department_id";

    public static final String COL_DOCTOR_ID = "doctor_id";

    public static final String COL_INDENT_ID = "indent_id";
}